
import 'package:flutter/cupertino.dart';

import '../model/userModel.dart';

class AppState extends ChangeNotifier {

  UserModel? _userModel;
  UserModel? get userModel => _userModel;
  set setUserModel(UserModel model) {
    _userModel = model;
  }

  int _pageIndex = 0;
  int get pageIndex {
    return _pageIndex;
  }

  set setPageIndex(int index) {
    _pageIndex = index;
    notifyListeners();
  }
}